DragonFly BSD
DragonFly commits List (threaded) for 2004-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/test/sysperf call3.c

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Mar 2004 18:04:29 -0800 (PST)

dillon      2004/03/19 18:04:29 PST

DragonFly src repository

  Modified files:
    test/sysperf         call3.c 
  64-byte-align the test functions so they appear on different cache lines.
  It doesn't seem to make much of a difference through for some unknown
  reason nop1() seems to have slightly lower overhead then nop2().
      dhcp62# /tmp/call3
      call nop() function through function pointer in loop
      call3/nop1-1 10.508s 1000000000 loops =  0.011uS/loop
      call3/nop1-2 14.610s 1000000000 loops =  0.015uS/loop
      call3/nop2-2  7.046s 1000000000 loops =  0.007uS/loop
  Revision  Changes    Path
  1.2       +3 -0      src/test/sysperf/call3.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]