[PATCH 05/11] score: Add per-CPU profiling

Gedare Bloom gedare at rtems.org
Mon Mar 10 16:48:19 UTC 2014


On Mon, Mar 10, 2014 at 12:13 PM, Gedare Bloom <gedare at rtems.org> wrote:
> Please add a little more to the commit message, especially since this
> also adds some of the ISR profiling support. Unless you did not mean
> to add the isr stuff yet.. Some of it looks unused to me.
>
> On Mon, Mar 10, 2014 at 9:28 AM, Sebastian Huber
> <sebastian.huber at embedded-brains.de> wrote:
>> ---
>> +void _Profiling_Outer_most_interrupt_entry_and_exit(
>> +  Per_CPU_Control *per_cpu,
>> +  CPU_Counter_ticks interrupt_entry_instant,
>> +  CPU_Counter_ticks interrupt_exit_instant
>> +);
> I don't like this name, but I have no better one yet until I see where
> it is used. Perhaps _Profiling_Nested_isr? I liked the above functions
> that were named after the function they profile, although here it is
> less clear since the entire function does not get profiled I would
> guess.
>
It could be something like _Profiling_Update_interrupt_stats().
-Gedare



More information about the devel mailing list