Ejemplo n.º 1
0
void bm_Term()
{
#ifdef DYNA_OPROF
	if (oprofHandle) op_close_agent(oprofHandle);
	
	oprofHandle=0;
#endif
}
Ejemplo n.º 2
0
void JitBlockCache::Shutdown() {
    delete [] blocks_;
    blocks_ = 0;
    num_blocks_ = 0;
#if defined USE_OPROFILE && USE_OPROFILE
    op_close_agent(agent);
#endif

#ifdef USE_VTUNE
    iJIT_NotifyEvent(iJVM_EVENT_TYPE_SHUTDOWN, NULL);
#endif
}
Ejemplo n.º 3
0
void Shutdown()
{
#if defined USE_OPROFILE && USE_OPROFILE
	op_close_agent(s_agent);
	s_agent = nullptr;
#endif

#ifdef USE_VTUNE
	iJIT_NotifyEvent(iJVM_EVENT_TYPE_SHUTDOWN, nullptr);
#endif

	if (s_perf_map_file.IsOpen())
		s_perf_map_file.Close();
}
Ejemplo n.º 4
0
 virtual ~OprofileJITEventListener() { op_close_agent(agent); }