source: src/Common/Stats/Heap.h @ 297b796

Last change on this file since 297b796 was c15085d, checked in by Fangren Yu <f37yu@…>, 4 years ago

tracing memory allocation of resolver passes

  • Property mode set to 100644
File size: 636 bytes
RevLine 
[b97ebf1]1//
2// Cforall Version 1.0.0 Copyright (C) 2018 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// Heap.h --
8//
[c02f761]9// Author           : Thierry Delisle
10// Created On       : Thu May  3 16:16:10 2018
[b97ebf1]11// Last Modified By : Peter A. Buhr
[c02f761]12// Last Modified On : Fri May  4 14:34:08 2018
13// Update Count     : 3
[b97ebf1]14//
15
16#pragma once
17
[7abee38]18namespace Stats {
19        namespace Heap {
20                void newPass( const char * const name );
[8f74a6a]21                void print();
[c15085d]22
23                size_t new_stacktrace_id(const char * const name);
24                void stacktrace_push(size_t id);
25                void stacktrace_pop();
[7abee38]26        }
[b97ebf1]27}
Note: See TracBrowser for help on using the repository browser.