ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/frameCount/src/mainFrameTime.c
Revision: 84
Committed: Fri Aug 16 16:45:29 2002 UTC (21 years, 10 months ago) by mmeineke
Content type: text/plain
File size: 277 byte(s)
Log Message:
added a utility to output what time of each frame

File Contents

# Content
1 #include <stdlib.h>
2 #include <stdio.h>
3
4 #include "frameCount.h"
5
6 int main(int argc, char *argv[] ){
7
8 if( argc != 2 ){
9 printf( "I need a dump file to read.\n" );
10 exit(8);
11 }
12
13 printf( "# file \"%s\" has %d frames.\n", argv[1],
14 frameCount( argv[1], 1 ) );
15
16 return 0;
17 }