GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: tmp_project/StringUtils/src/phoenix_random.cpp Lines: 4 4 100.0 %
Date: 2024-12-09 15:30:52 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