Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: Timing in Linux and 686 Cache
- To: tlug@example.com
- Subject: tlug: Timing in Linux and 686 Cache
- From: Manuel Chakravarty <chak@example.com>
- Date: Sat, 18 Jul 1998 18:30:23 +0900
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
Hi! I have two probably not easy to answer questions: * Does anybody have an idea whether it is possible in Linux to time the execution of user-level code below a resolution of 10ms? Using the function `getrusage', a resolution of 10ms is the best that I can get. Is there anything better? * Is there a OS function that lets me invalidate the data cache of the processor? If not, does anybody know which `asm' section achieves this effect for a MMX Pentium Pro? For the curious: We are trying to time some cache effects on a Pentium Pro machine. With a resolution of 10ms, we have to use a loop, repeating the test to measure the accumulated runtime. Without invalidating the cache at the beginning of the loop, the results are probably distorted. Thanks for any tips! Manuel -------------------------------------------------------------- Next Nomikai: 17 July, 19:30 Tengu TokyoEkiMae 03-3275-3691 Next Meeting: 8 August, Tokyo Station Yaesu central gate 12:30 featuring Linux on multiple platforms: i386, Sparc, PA-Risc, Amiga, SGI, Alpha, PalmPilot, ... -------------------------------------------------------------- Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
- Follow-Ups:
- Re: tlug: Timing in Linux and 686 Cache
- From: Jim Tittsler <jwt-tlug@example.com>
- Re: tlug: Timing in Linux and 686 Cache
- From: "Andrew S. Howell" <andy@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: Color depth in GIMP
- Next by Date: Re: tlug: Timing in Linux and 686 Cache
- Prev by thread: Re: tlug: PJE
- Next by thread: Re: tlug: Timing in Linux and 686 Cache
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links