NeoPZ
Classes | Macros
stats_recorder.h File Reference

Contains macros and functions to support execution statistics recording. More...

#include <sstream>
#include <string.h>
#include <csvtable.h>
#include <sys/resource.h>
#include <pz_gettime.h>
Include dependency graph for stats_recorder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RunStat
 
class  RUsageRunStat
 
class  ElapsedTimeRunStat
 
class  RunStatsRecorder
 

Macros

#define HAS_GETRUSAGE
 
#define SET_TOTAL(fld)
 
#define SET_TOTAL_TIMEVAL(fld)
 
#define PRINT_FLD(hd, fld)
 
#define TIMEVAL_TO_DOUBLE_MS(s)
 
#define PRINT_TIMEVAL_FLD(hd, fld)
 
#define APPEND_LONG_FLD(hd, fld)
 
#define APPEND_TIMEVAL_FLD(hd, fld)
 

Detailed Description

Contains macros and functions to support execution statistics recording.

Definition in file stats_recorder.h.

Macro Definition Documentation

◆ APPEND_LONG_FLD

#define APPEND_LONG_FLD (   hd,
  fld 
)

◆ APPEND_TIMEVAL_FLD

#define APPEND_TIMEVAL_FLD (   hd,
  fld 
)

◆ HAS_GETRUSAGE

#define HAS_GETRUSAGE

Definition at line 8 of file stats_recorder.h.

◆ PRINT_FLD

#define PRINT_FLD (   hd,
  fld 
)

Referenced by RUsageRunStat::print().

◆ PRINT_TIMEVAL_FLD

#define PRINT_TIMEVAL_FLD (   hd,
  fld 
)

Referenced by RUsageRunStat::print().

◆ SET_TOTAL

#define SET_TOTAL (   fld)

Referenced by RUsageRunStat::stop().

◆ SET_TOTAL_TIMEVAL

#define SET_TOTAL_TIMEVAL (   fld)

Referenced by RUsageRunStat::stop().

◆ TIMEVAL_TO_DOUBLE_MS

#define TIMEVAL_TO_DOUBLE_MS (   s)