summaryrefslogtreecommitdiff
path: root/rts/ProfilerReportJson.h
blob: 5e7271f70ea934d3d6c25ee81cc3b9f05f2d3860 (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
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team, 1998-2017
 *
 * Generating cost-center profiler report
 *
 * ---------------------------------------------------------------------------*/

#pragma once

#include <stdio.h>

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

#include "BeginPrivate.h"

#if defined(PROFILING)

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

#endif

#include "EndPrivate.h"