[PATCH 3/5] sched_clock: Remove suspend from clock_read_data

2015-03-26 Thread John Stultz
From: Daniel Thompson Currently cd.read_data.suspended is read by the hotpath function sched_clock(). This variable need not be accessed on the hotpath. In fact, once it is removed, we can remove the conditional branches from sched_clock() and install a dummy read_sched_clock function to suspend

[PATCH 3/5] sched_clock: Remove suspend from clock_read_data

2015-03-17 Thread John Stultz
From: Daniel Thompson Currently cd.read_data.suspended is read by the hotpath function sched_clock(). This variable need not be accessed on the hotpath. In fact, once it is removed, we can remove the conditional branches from sched_clock() and install a dummy read_sched_clock function to suspend