Revision 507372bb tests/MLTest/MLTest.c

View differences:

tests/MLTest/MLTest.c
4 4
#include <math.h>
5 5

  
6 6
#include "ml.h"
7
#include "grapes_log.h"
8
#include "grapes.h"
7
#include "napa_log.h"
8
#include "napa.h"
9 9
#include "transmissionHandler.h"
10 10

  
11 11
int peerID;
......
244 244

  
245 245
	numOfMsg = inputRate / ((msgLen/1349 + 1)*23 + msgLen)*timeInterval;	
246 246

  
247
	//Init grapes: log facility and libevent
248
	grapesInit(event_base_new());
247
	//Init napa: log facility and libevent
248
	napaInit(event_base_new());
249 249

  
250 250
	// Initialize logging
251
	grapesInitLog(verbosity, NULL, NULL);
251
	napaInitLog(verbosity, NULL, NULL);
252 252

  
253 253
	//initRateLimiter(eventbase);
254 254

  

Also available in: Unified diff