Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
PerfBarOpenGLView.h
#import <Cocoa/Cocoa.h> |
#include <sys/time.h> |
@interface PerfBarOpenGLView : NSOpenGLView |
{ |
float total_time; |
float draw_time; |
float comp_time; |
float bar_scale; |
int bar_width; |
int bar_height; |
int cpu_threaded; |
} |
- (void)setPerfTimes:(float)tottime:(float)comptime:(float)drawtime:(int)threaded:(float)lag; |
- (void)setBarScaleFactor:(float)factor; |
@end |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-07-07