aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/rt_domain.c
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2011-12-22 21:48:09 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2011-12-22 21:48:09 -0500
commit41098f4c972e8de3b34c9957d475893bb7877689 (patch)
treef87e3fca6bc283b2ee1adbb215f1d5e0f128b5e6 /litmus/rt_domain.c
parent9ddd1b8ad8abd321964b8add5581910de6d67c2a (diff)
Sperated b and c overheads
Diffstat (limited to 'litmus/rt_domain.c')
-rw-r--r--litmus/rt_domain.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/litmus/rt_domain.c b/litmus/rt_domain.c
index 5296665b5dd..3b3b49ed48e 100644
--- a/litmus/rt_domain.c
+++ b/litmus/rt_domain.c
@@ -52,7 +52,11 @@ static unsigned int time2slot(lt_t time)
52static void do_release(struct release_heap *rh) 52static void do_release(struct release_heap *rh)
53{ 53{
54 unsigned long flags; 54 unsigned long flags;
55 TS_RELEASE_START; 55
56 if (CRIT_LEVEL_B == rh->dom->level)
57 TS_LVLB_RELEASE_START;
58 else
59 TS_LVLC_RELEASE_START;
56 60
57 raw_spin_lock_irqsave(&rh->dom->release_lock, flags); 61 raw_spin_lock_irqsave(&rh->dom->release_lock, flags);
58 VTRACE("CB has the release_lock 0x%p\n", &rh->dom->release_lock); 62 VTRACE("CB has the release_lock 0x%p\n", &rh->dom->release_lock);
@@ -64,7 +68,10 @@ static void do_release(struct release_heap *rh)
64 /* call release callback */ 68 /* call release callback */
65 rh->dom->release_jobs(rh->dom, &rh->heap); 69 rh->dom->release_jobs(rh->dom, &rh->heap);
66 70
67 TS_RELEASE_END; 71 if (CRIT_LEVEL_B == rh->dom->level)
72 TS_LVLB_RELEASE_END;
73 else
74 TS_LVLC_RELEASE_END;
68} 75}
69 76
70#ifdef CONFIG_MERGE_TIMERS 77#ifdef CONFIG_MERGE_TIMERS