GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: tmp_project/StringUtils/src/phoenix_random.cpp Lines: 4 4 100.0 %
Date: 2023-10-11 10:52:07 Branches: 0 0 - %

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