Next: Summary
Up: Profiling
Previous: Methodolgy
  Contents
- System Call Overheads
- Thread Library Function Calls
Also, since thread library function themselves calls functions of the
scheduler API, these overheads have a meaning only when we define a
scheduler. Therefore, for the purpose of measurement of kernel
overheads we also define a Null Scheduler where every required
scheduler API function call has an empty body.
Function Call |
Null Scheduler |
|
CPU Cycles |
thread_lib_init |
1765 |
thread_create |
866 |
thread_suspend |
83 |
thread_resume |
73 |
schedule |
126 |
- Semaphore Library Function Calls
Since, Semaphore Library also calls functions of the scheduler, it is
also profiled for the null scheduler.
Function Call |
CPU Cycles |
sema_wait 11.1 |
70 |
sema_signal |
67 |
- Context Switch Overheads
Function Call |
Null Scheduler |
|
CPU Cycles |
CPU_Context_Switch |
250 |
Thread Context Switch |
19506 |
Next: Summary
Up: Profiling
Previous: Methodolgy
  Contents
Soumyadeb Mitra
2002-08-07