mirror of
https://github.com/wfjm/w11.git
synced 2026-01-26 20:32:10 +00:00
rbus->ibus window. Replaces with a 4k word window for whole IO page.
- utilize rlink protocol version 4 features in w11a backend
- use attn notifies to dispatch attn handlers
- use larger blocks (7*512 rather 1*512 bytes) for rdma transfers
- use labo and merge csr updates with last block transfer
- this combined reduces the number of round trips by a factor 2 to 3,
and in some cases the throughput accordingly.
62 lines
1.9 KiB
C++
62 lines
1.9 KiB
C++
// $Id: Rexception.hpp 625 2014-12-30 16:17:45Z mueller $
|
|
//
|
|
// Copyright 2013-2014 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
|
//
|
|
// This program is free software; you may redistribute and/or modify it under
|
|
// the terms of the GNU General Public License as published by the Free
|
|
// Software Foundation, either version 2, or at your option any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful, but
|
|
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
|
|
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
// for complete details.
|
|
//
|
|
// Revision History:
|
|
// Date Rev Version Comment
|
|
// 2014-12-30 625 1.1 add ctor(meth,text,emsg)
|
|
// 2013-02-12 487 1.0.1 add ErrMsg() getter
|
|
// 2013-01-12 474 1.0 Initial version
|
|
// ---------------------------------------------------------------------------
|
|
|
|
|
|
/*!
|
|
\file
|
|
\version $Id: Rexception.hpp 625 2014-12-30 16:17:45Z mueller $
|
|
\brief Declaration of class Rexception.
|
|
*/
|
|
|
|
#ifndef included_Retro_Rexception
|
|
#define included_Retro_Rexception 1
|
|
|
|
#include <stdexcept>
|
|
#include <string>
|
|
|
|
#include "RerrMsg.hpp"
|
|
|
|
namespace Retro {
|
|
|
|
class Rexception : public std::exception {
|
|
public:
|
|
Rexception();
|
|
Rexception(const RerrMsg& errmsg);
|
|
Rexception(const std::string& meth,
|
|
const std::string& text);
|
|
Rexception(const std::string& meth,
|
|
const std::string& text, int errnum);
|
|
Rexception(const std::string& meth,
|
|
const std::string& text, const RerrMsg& errmsg);
|
|
~Rexception() throw();
|
|
|
|
const char* what() const throw();
|
|
const RerrMsg& ErrMsg() const;
|
|
|
|
protected:
|
|
RerrMsg fErrmsg; //!< message object
|
|
};
|
|
|
|
} // end namespace Retro
|
|
|
|
#include "Rexception.ipp"
|
|
|
|
#endif
|