[Scopeapp-cvs]scopeapp/src TraceView.m,1.17,1.18
Status: Alpha
Brought to you by:
narge
From: <sco...@li...> - 2003-02-19 05:55:36
|
Update of /cvsroot/scopeapp/scopeapp/src In directory sc8-pr-cvs1:/tmp/cvs-serv10360/src Modified Files: TraceView.m Log Message: Disable old debugging code Index: TraceView.m =================================================================== RCS file: /cvsroot/scopeapp/scopeapp/src/TraceView.m,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** TraceView.m 18 Feb 2003 12:02:41 -0000 1.17 --- TraceView.m 19 Feb 2003 05:55:31 -0000 1.18 *************** *** 104,108 **** - (void)drawRect:(NSRect)rect { ! #ifdef DEBUG_CODE NSDate* startTime; NSTimeInterval time; --- 104,108 ---- - (void)drawRect:(NSRect)rect { ! #if 0 NSDate* startTime; NSTimeInterval time; *************** *** 130,134 **** // lock the display data [myDisplayLock lock]; ! #ifdef DEBUG_CODE startTime = [NSDate date]; #endif --- 130,134 ---- // lock the display data [myDisplayLock lock]; ! #if 0 startTime = [NSDate date]; #endif *************** *** 160,164 **** [context setShouldAntialias: wasAntiAliased]; ! #ifdef DEBUG_CODE time = -[startTime timeIntervalSinceNow]; fprintf(stderr, "%d %lf\n", myDataWanted[0], time); --- 160,164 ---- [context setShouldAntialias: wasAntiAliased]; ! #if 0 time = -[startTime timeIntervalSinceNow]; fprintf(stderr, "%d %lf\n", myDataWanted[0], time); |