<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,9 +10,9 @@
 //
 //  Modified by Christopher Bowns, starting 2008-1-1.
 
-#ifndef NSLOG_DEBUG
-#define NSLOG_DEBUG
-#endif
+// #ifndef NSLOG_DEBUG
+// #define NSLOG_DEBUG
+// #endif
 
 #import &quot;CPUInfo.h&quot;
 
@@ -146,10 +146,10 @@
 		cpudata[inptr].nice = (double)nice / (double)total;
 		cpudata[inptr].idle = (double)idle / (double)total;
 		#ifdef NSLOG_DEBUG
-		// NSLog(@&quot;CPU %d: User: %f\n&quot;, i, cpudata[inptr].user);
-		// NSLog(@&quot;CPU %d: Sys: %f\n&quot;, i, cpudata[inptr].sys);
-		// NSLog(@&quot;CPU %d: Nice: %f\n&quot;, i, cpudata[inptr].nice);
-		// NSLog(@&quot;CPU %d: Idle: %f\n&quot;, i, cpudata[inptr].idle);
+		NSLog(@&quot;CPU %d: User: %.2f\n&quot;, i, cpudata[inptr].user);
+		NSLog(@&quot;CPU %d: Sys: %.2f\n&quot;, i, cpudata[inptr].sys);
+		NSLog(@&quot;CPU %d: Nice: %.2f\n&quot;, i, cpudata[inptr].nice);
+		NSLog(@&quot;CPU %d: Idle: %.2f\n&quot;, i, cpudata[inptr].idle);
 		#endif
 	}
 	</diff>
      <filename>CPUInfo.m</filename>
    </modified>
    <modified>
      <diff>@@ -27,9 +27,9 @@
 #import &quot;MainController.h&quot;
 
 
-#ifndef NSLOG_DEBUG
-#define NSLOG_DEBUG
-#endif
+// #ifndef NSLOG_DEBUG
+// define NSLOG_DEBUG
+// #endif
 
 #define GRAPH_SIZE	128
 
@@ -69,10 +69,6 @@
 - (void)drawComplete
 // completely redraw graphImage, put graph into displayImage
 {	
-
-#undef NSLOG_DEBUG
-
-
 	
 	#ifdef NSLOG_DEBUG
 	NSLog(@&quot;%s&quot;, _cmd);
@@ -96,9 +92,9 @@
 		// init the base (bottom) of this cpu's graph space.
 		float yBase = cpu * (height + graphSpacer);
 		ybottom = yBase;
-		NSLog(@&quot;\n\n%s ybottom: %.2f&quot;, _cmd, ybottom);
 		
 		#ifdef NSLOG_DEBUG
+		NSLog(@&quot;\n\n%s ybottom: %.2f&quot;, _cmd, ybottom);
 		NSLog(@&quot;%s cpu %i: drawing starts at %f px high\n\n&quot;, _cmd, cpu, ybottom);
 		#endif
 		</diff>
      <filename>MainController.m</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0d77185e1772c182b5064f0fee0e423435dfdd6f</id>
    </parent>
  </parents>
  <author>
    <name>Christopher Bowns</name>
    <email>christopher@cbowns.com</email>
  </author>
  <url>http://github.com/cbowns/cpu-history/commit/2e2b7b949070a545c1962ccb0ecab651f61618be</url>
  <id>2e2b7b949070a545c1962ccb0ecab651f61618be</id>
  <committed-date>2008-04-24T14:59:51-07:00</committed-date>
  <authored-date>2008-04-24T14:59:51-07:00</authored-date>
  <message>disable logging, and move a couple NSLog inside #ifdef NSLOG_DEBUG areas.</message>
  <tree>c41fe1bb898aa8db08124ba73fb3be66f5ba52f9</tree>
  <committer>
    <name>Christopher Bowns</name>
    <email>christopher@cbowns.com</email>
  </committer>
</commit>
