summaryrefslogtreecommitdiff
path: root/rts/ProfilerReportJson.h
blob: 1e115d7265761824050bc9727acd58396183f70b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team, 1998-2017
 *
 * Generating cost-center profiler report
 *
 * ---------------------------------------------------------------------------*/

#ifndef PROFILER_REPORT_JSON_H
#define PROFILER_REPORT_JSON_H

#include <stdio.h>

#include "Rts.h"
#include "Profiling.h"

#include "BeginPrivate.h"

#ifdef PROFILING

void writeCCSReportJson(FILE *prof_file,
                        CostCentreStack const *ccs,
                        ProfilerTotals totals );

#endif

#include "EndPrivate.h"

#endif /* PROFILER_REPORT_JSON_H */