GCC Code Coverage Report | |||||||||||||||||||||
|
|||||||||||||||||||||
Line | Branch | Exec | Source |
1 |
/*************************************** |
||
2 |
Auteur : Pierre Aubert |
||
3 |
Mail : pierre.aubert@lapp.in2p3.fr |
||
4 |
Licence : CeCILL-C |
||
5 |
****************************************/ |
||
6 |
|||
7 |
#include "phoenix_random.h" |
||
8 |
|||
9 |
|||
10 |
///Set the random seed |
||
11 |
/** @return seed of the random function |
||
12 |
*/ |
||
13 |
1 |
unsigned int phoenix_initRandom(){ |
|
14 |
1 |
time_t t = time(NULL); |
|
15 |
1 |
srand(t); |
|
16 |
1 |
return t; |
|
17 |
} |
||
18 |
|||
19 |
Generated by: GCOVR (Version 4.2) |