[llvm-commits] CVS: llvm/test/Programs/MultiSource/Fhourstones/time.c

Chris Lattner lattner at cs.uiuc.edu
Fri May 2 13:41:01 PDT 2003


Changes in directory llvm/test/Programs/MultiSource/Fhourstones:

time.c updated: 1.1 -> 1.2

---
Log message:

Don't break diffs by actually including timeing information


---
Diffs of the changes:

Index: llvm/test/Programs/MultiSource/Fhourstones/time.c
diff -u llvm/test/Programs/MultiSource/Fhourstones/time.c:1.1 llvm/test/Programs/MultiSource/Fhourstones/time.c:1.2
--- llvm/test/Programs/MultiSource/Fhourstones/time.c:1.1	Wed Oct  2 14:30:25 2002
+++ llvm/test/Programs/MultiSource/Fhourstones/time.c	Fri May  2 13:40:36 2003
@@ -9,6 +9,8 @@
 int64 millisecs()
 {
   struct rusage rusage;
+  static int64 Time = 0;
+  return ++Time; /* DO NOT TIME FOR LLVM */
 
   getrusage(RUSAGE_SELF,&rusage);
   return rusage.ru_utime.tv_sec * 1000 + rusage.ru_utime.tv_usec / 1000;





More information about the llvm-commits mailing list