68 TD_GET(core_profile_trace_data.epoch) = epoch;
112 if(epoch->
loadmap != current) {
113 TMSG(LOADMAP,
"Need new loadmap!");
114 TMSG(MALLOC,
" -new_epoch-");
117 TMSG(EPOCH,
"check_new_epoch creating new epoch (new loadmap/cct pair)...");
119 memcpy(newepoch, epoch,
sizeof(
epoch_t));
125 newepoch->
next = epoch;
127 TD_GET(core_profile_trace_data.epoch) = newepoch;
138 TMSG(EPOCH,
"--Fini");
151 TMSG(EPOCH_RESET,
"--started");
154 memcpy(newepoch, epoch,
sizeof(
epoch_t));
155 TMSG(EPOCH_RESET,
"check new loadmap = old loadmap = %d", newepoch->
loadmap == epoch->
loadmap);
hpcrun_loadmap_t * loadmap
#define hpcrun_get_thread_epoch()
void hpcrun_cct_bundle_init(cct_bundle_t *bundle, cct_ctxt_t *ctxt)
void hpcrun_epoch_init(cct_ctxt_t *ctxt)
epoch_t * hpcrun_check_for_new_loadmap(epoch_t *epoch)
void hpcrun_reset_epoch(epoch_t *epoch)
core_profile_trace_data_t core_profile_trace_data
void * hpcrun_malloc(size_t size)
int hpcrun_epoch_fini(epoch_t *x)
void hpcrun_epoch_reset(void)
void hpcrun_trampoline_remove(void)
thread_data_t *(* hpcrun_get_thread_data)(void)
hpcrun_loadmap_t * hpcrun_getLoadmap()