コード例 #1
0
ファイル: virtual.c プロジェクト: DanieleDeSensi/mammut
/* PRE: perfctr == current->thread.perfctr && IS_RUNNING(perfctr)
 * Restart the counters.
 */
static inline void vperfctr_resume(struct vperfctr *perfctr)
{
	debug_resume(perfctr);
	perfctr_cpu_resume(&perfctr->cpu_state);
	vperfctr_reset_sampling_timer(perfctr);
	debug_set_smp_id(perfctr);
}
コード例 #2
0
ファイル: virtual.c プロジェクト: kandycs/kitten-perf
/* PRE: perfctr == current->arch.thread.perfctr && IS_RUNNING(perfctr)
 * Restart the counters.
 */
static inline void vperfctr_resume(struct vperfctr *perfctr)
{
	perfctr_cpu_resume(&perfctr->cpu_state);
	//vperfctr_reset_sampling_timer(perfctr);
}