58 return strcmp(n1,n2) < 0;
125 {
"<partial call paths>", FAKE_PROCEDURE},
143 static int initialized = 0;
144 if (initialized)
return;
160 const char *name_new = in;
161 NameMappings_t::iterator it =
renamingMap.find(in);
165 name_new = it->second;
172 fake_procedure = itf->second;
193 const char * tests[] = {
196 "monitor_main_fence2",
197 "omp_mutex_wait_state",
203 for(
int i = 0; i < (
sizeof(tests) /
sizeof(
const char *)); i++) {
204 std::cout <<
"input name = '" << tests[i]
static NameMappings_t renamingMap
static ProcedureStatusMapping_t fakeProcedureMap
const char * MONITOR_DATA_FIRST_TOUCH
const char * PROGRAM_ROOT
static void normalize_name_load_renamings()
const char * DATACENTRIC_UNKNOWN
const char * OMP_TASK_WAIT
std::map< const char *, const char *, NameMapCompare > NameMappings_t
const char * OMP_OVERHEAD
const char * DATACENTRIC_DYNAMIC
const char * OMP_BARRIER_WAIT
static NameMapping renamingTable[]
std::map< const char *, int > ProcedureStatusMapping_t
int main(int argc, char *argv[])
const char * DATACENTRIC_STATIC
const char * normalize_name(const char *in, int &fake_procedure)
const char * NO_THREAD_ROOT
const char * DATACENTRIC_ROOT
const char * OMP_MUTEX_WAIT
static ProcedureStatusMapping fakeProcedureTable[]
static const char * normalize_name_rename(const char *in, int &fake_procedure)
bool operator()(const char *n1, const char *n2) const