fix interrupt nested behavior
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 15 Oct 2008 14:05:40 +0000 (14:05 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 15 Oct 2008 14:05:40 +0000 (14:05 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3106 04897980-b3bd-0310-b5e0-8ef037075253

trunk/lttv/lttv/modules/gui/interrupts/interrupts.c

index 6d0f07e3a210fba5717f69c1147a52e2e82b35f2..608e2b2730e1e0cf1148791278e46567b50126ed 100644 (file)
@@ -583,7 +583,7 @@ static void CalculateData(LttTime time_exit,  guint cpu_id,InterruptEventData *e
   LttTime duration;
   GArray *FirstRequestIrqExit = event_data->FirstRequestIrqExit;
   GArray *FirstRequestIrqEntry = event_data->FirstRequestIrqEntry;
-  for(i = 0; i < FirstRequestIrqEntry->len; i++)
+  for(i = FirstRequestIrqEntry->len-1; i >=0; i--)
   {
     element = &g_array_index(FirstRequestIrqEntry,irq_entry,i);
     if(element->cpu_id == cpu_id)
This page took 0.02422 seconds and 4 git commands to generate.