Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'pikachuyann/simgrid-stoprofiles'
[simgrid.git] / src / include / xbt / coverage.h
1 /* Copyright (c) 2019-2020. The SimGrid Team. All rights reserved.               */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef COVERAGE_H
7 #define COVERAGE_H
8
9 #include <xbt/base.h>
10
11 SG_BEGIN_DECL
12
13 #ifdef COVERAGE
14 extern void __gcov_flush();
15 #define coverage_checkpoint() __gcov_flush()
16 #else
17 #define coverage_checkpoint() (void)0
18 #endif
19
20 SG_END_DECL
21
22 #endif