aboutsummaryrefslogtreecommitdiffstats
path: root/src/firemon/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firemon/top.c')
-rw-r--r--src/firemon/top.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/firemon/top.c b/src/firemon/top.c
index 585fdcdab..2217cc7de 100644
--- a/src/firemon/top.c
+++ b/src/firemon/top.c
@@ -18,16 +18,13 @@
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19*/ 19*/
20#include "firemon.h" 20#include "firemon.h"
21#include "../include/gcov_wrapper.h"
21#include <termios.h> 22#include <termios.h>
22#include <sys/ioctl.h> 23#include <sys/ioctl.h>
23#include <sys/types.h> 24#include <sys/types.h>
24#include <sys/stat.h> 25#include <sys/stat.h>
25#include <unistd.h> 26#include <unistd.h>
26 27
27#ifdef HAVE_GCOV
28#include "../include/gcov_wrapper.h"
29#endif
30
31static unsigned pgs_rss = 0; 28static unsigned pgs_rss = 0;
32static unsigned pgs_shared = 0; 29static unsigned pgs_shared = 0;
33static unsigned clocktick = 0; 30static unsigned clocktick = 0;
@@ -330,8 +327,7 @@ void top(void) {
330 } 327 }
331 } 328 }
332 head_print(col, row); 329 head_print(col, row);
333#ifdef HAVE_GCOV 330
334 __gcov_flush(); 331 __gcov_flush();
335#endif
336 } 332 }
337} 333}