mirror of
https://github.com/paboyle/Grid.git
synced 2026-05-14 22:24:30 +01:00
Merge with Christoph GPT checksum debug
This commit is contained in:
@@ -42,5 +42,22 @@ class FlightRecorder {
|
||||
static void xmitLog(void *,uint64_t bytes);
|
||||
static void recvLog(void *,uint64_t bytes,int rank);
|
||||
};
|
||||
#ifdef GRID_LOG_VIEWS
|
||||
class ViewLogger {
|
||||
struct Entry_t {
|
||||
const char* filename;
|
||||
int line;
|
||||
int index;
|
||||
uint64_t head, tail;
|
||||
};
|
||||
|
||||
public:
|
||||
static bool Enabled;
|
||||
static std::vector<Entry_t> LogVector;
|
||||
static void Begin();
|
||||
static void End();
|
||||
static void Log(const char* filename, int line, int index, int mode, void* data, uint64_t bytes);
|
||||
};
|
||||
#endif
|
||||
NAMESPACE_END(Grid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user