#include "standard.h"
Go to the source code of this file.
Functions | |
int | get_clock (void) |
void | increment_clock (void) |
char * | print_time (void) |
Variables | |
int | clock_time = 0 |
|
Definition at line 11 of file clock.c. Referenced by channel_read_indication(), channel_write_indication(), code_audio(), code_video(), do_cmd(), FindFrameSkip(), interface(), and prompt(). 00012 {
00013 return (clock_time);
00014 }
|
|
Definition at line 17 of file clock.c. References clock_time. Referenced by main_loop(). 00018 { 00019 clock_time++; 00020 }
|
|
Definition at line 23 of file clock.c. References clock_time. Referenced by close_audio_codec(), code_audio(), demultiplex(), main_loop(), and multiplex(). 00024 { 00025 static char s[12]; 00026 00027 sprintf(s, 00028 "%02d:%02d:%02d.%03d", 00029 (clock_time / 3600000), 00030 (clock_time / 60000) % 60, 00031 (clock_time / 1000) % 60, 00032 clock_time % 1000); 00033 return (s); 00034 }
|
|
Definition at line 8 of file clock.c. Referenced by increment_clock(), and print_time(). |