diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-05-02 06:37:14 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-05-05 08:29:27 +1000 |
commit | db9de7eb3e91820024f673bfdb6fb8064cfed20d (patch) | |
tree | 5e1c3ef0b6dee7f40fedbc118ba36cfe6ffdd1ee /rts/Stats.h | |
parent | ad4392c142696d5092533480a82ed65322e9d413 (diff) | |
download | haskell-db9de7eb3e91820024f673bfdb6fb8064cfed20d.tar.gz |
rts: Replace `nat` with `uint32_t`
The `nat` type was an alias for `unsigned int` with a comment saying
it was at least 32 bits. We keep the typedef in case client code is
using it but mark it as deprecated.
Test Plan: Validated on Linux, OS X and Windows
Reviewers: simonmar, austin, thomie, hvr, bgamari, hsyl20
Differential Revision: https://phabricator.haskell.org/D2166
Diffstat (limited to 'rts/Stats.h')
-rw-r--r-- | rts/Stats.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rts/Stats.h b/rts/Stats.h index 5897a3b0f5..1d95170f2c 100644 --- a/rts/Stats.h +++ b/rts/Stats.h @@ -29,15 +29,15 @@ void stat_endInit(void); void stat_startGCSync(struct gc_thread_ *_gct); void stat_startGC(Capability *cap, struct gc_thread_ *_gct); -void stat_endGC (Capability *cap, struct gc_thread_ *_gct, - W_ live, W_ copied, W_ slop, nat gen, - nat n_gc_threads, W_ par_max_copied, W_ par_tot_copied); +void stat_endGC (Capability *cap, struct gc_thread_ *_gct, W_ live, + W_ copied, W_ slop, uint32_t gen, uint32_t n_gc_threads, + W_ par_max_copied, W_ par_tot_copied); #ifdef PROFILING void stat_startRP(void); -void stat_endRP(nat, +void stat_endRP(uint32_t, #ifdef DEBUG_RETAINER - nat, int, + uint32_t, int, #endif double); #endif /* PROFILING */ |