PPL Logo

StatTable Class Reference
[Charm++ Trace Module]

track statistics for all entry points More...

#include <trace-counter.h>

Collaboration diagram for StatTable:

Collaboration graph
[legend]

Public Member Functions

 StatTable ()
 ~StatTable ()
void init (int argc)
void setEp (int epidx, int stat, long long value, double time)
 one entry is called for 'time' seconds, value is counter reading
void write (FILE *fp)
 write three lines for each stat: 1.
void clear ()
 set all of internals to null
int numStats ()
void doReduction (int phase, double idleTime)
 do a reduction across processors to calculate the total count for each count, and if the count has flops, etc, then calc the the flops/s, etc.

Private Attributes

Statisticsstats_
int numStats_

Data Structures

struct  Statistics
 struct to maintain statistics More...

Detailed Description

track statistics for all entry points

Definition at line 23 of file trace-counter.h.


Member Function Documentation

int StatTable::numStats (  )  [inline]

Definition at line 36 of file trace-counter.h.

References numStats_.

Referenced by CountLogPool::write().

Here is the caller graph for this function:


Field Documentation

Definition at line 57 of file trace-counter.h.

Referenced by clear(), doReduction(), init(), setEp(), write(), and ~StatTable().

Definition at line 58 of file trace-counter.h.

Referenced by clear(), doReduction(), init(), numStats(), and write().


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:30:14 2020 for Charm++ by  doxygen 1.5.5