VZTECH / Mbed 2 deprecated main_src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers elapsed_timer.h Source File

elapsed_timer.h

00001 %: ifndef __ELAPSED_TIMER_H__
00002 %: define __ELAPSED_TIMER_H__
00003 
00004 %: include <stdint.h>
00005 %: include <vz_stdio.h>
00006 %: include "mbed.h"
00007 
00008 extern bool init_test;
00009 extern bool end_test;
00010     
00011 extern bool init_test_mean;
00012 extern bool end_test_mean;
00013 
00014 extern Timer elapsed_timer;
00015 extern Timer elapsed_timer_mean;
00016 
00017 void elapsed_time_start ( void );
00018 int elapsed_time_end ( void );
00019 
00020 void elapsed_time_mean_start ( void );
00021 void elapsed_time_mean_end ( void );
00022 
00023 const uint16_t u16_ELAPSED_TIME_COUNT_TIMES = 60000;
00024 
00025 extern uint16_t u16Elapsed_time_count;
00026     
00027 extern uint64_t u64Elapsed_time_u_sum;
00028 
00029 %: endif