00001
00025 #ifndef GALOIS_RUNTIME_SUPPORT_H
00026 #define GALOIS_RUNTIME_SUPPORT_H
00027
00028 #include <string>
00029
00030 namespace Galois {
00031 class Statistic;
00032 }
00033
00034 namespace Galois {
00035 namespace Runtime {
00036
00037 extern bool inGaloisForEach;
00038
00040 void reportStat(const char* loopname, const char* category, unsigned long value);
00042 void reportStat(const std::string& loopname, const std::string& category, unsigned long value);
00044 void reportStat(Galois::Statistic* value);
00046 void reportPageAlloc(const char* category);
00048 void reportNumaAlloc(const char* category);
00049
00051 void printStats();
00052
00053 }
00054 }
00055
00056 #endif
00057