PhoenixGenerator  2.0.0
Set of tools to generate code
main.cpp
Go to the documentation of this file.
1 
2 /***************************************
3  Auteur : Pierre Aubert
4  Mail : pierre.aubert@lapp.in2p3.fr
5  Licence : CeCILL-C
6 ****************************************/
7 
8 #include <iostream>
9 #include <vector>
10 #include "phoenix_assert.h"
11 #include "phoenix_system.h"
12 
15  std::cout << "testPhoenixSystemTime : start = " << phoenix_getClockNs() << std::endl;
24  std::cout << "testPhoenixSystemTime : stop = " << phoenix_getClockNs() << std::endl;
25  std::cout << "testPhoenixSystemTime : phoenix_getDateCompact = " << phoenix_getDateCompact() << std::endl;
26  std::cout << "testPhoenixSystemTime : phoenix_getTime = " << phoenix_getTime() << std::endl;
27 }
28 
32 }
33 
34 int main(int argc, char** argv){
37  return 0;
38 }
39 
40 
int main(int argc, char **argv)
Definition: main.cpp:19
void testPhoenixSystemTime()
Test the phoenix popen function.
Definition: main.cpp:14
void testPhoenixWhoAmI()
Test the phoenix_whoami.
Definition: main.cpp:30
#define phoenix_assert(isOk)
PString phoenix_getDateCompact()
Get the current date.
time_t phoenix_getTime()
Get the current time of the program.
double phoenix_getClockSec()
Get current time.
short unsigned int phoenix_getNbRowTerminal()
Get the number of rows of the terminal.
short unsigned int phoenix_getNbColTerminal()
Get the number of columns of the terminal.
time_t phoenix_getClockNs()
Get current time in nanosecond since the starting of the CPU (steady_clock)
time_t phoenix_getClock()
Get current time.
PString phoenix_getDate()
Get the current date.
PString phoenix_whoami()
Get the name of the current user.