Attachment:
syscallperf.c
Description: Binary data
I modified the source code to show exactly how many clock ticks it is taking for each call. It seems that the behavior hinted by Mauro Romano Trajber is actually there: [enrico@espresso ~]$ ./syscallperf 15 4925 1190 942 942 935 942 636 577 627 621 580 591 565 580 565 I am starting to wonder if this depends on the syscall itself OR on some call optimization.. any gcc experts around? Enrico Granata Computer Science & Engineering Department (EBU3B) - Room 3240 office phone 858 534 9914 University of California, San Diego On Feb 25, 2011, at 12:30 PM, Mauro Romano Trajber wrote: Sure, the code is attached. |
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies