stat_register.cc (10453:d0365cc3d05f) | stat_register.cc (11800:54436a1784dc) |
---|---|
1/* 2 * Copyright (c) 2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 25 unchanged lines hidden (view full) --- 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Andrew Bardsley 38 */ 39 40#include "sim/stat_register.hh" 41 | 1/* 2 * Copyright (c) 2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 25 unchanged lines hidden (view full) --- 34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Andrew Bardsley 38 */ 39 40#include "sim/stat_register.hh" 41 |
42#include "base/statistics.hh" 43 |
|
42namespace Stats 43{ 44 45extern void pythonDump(); 46extern void pythonReset(); 47 48void registerPythonStatsHandlers() 49{ 50 registerHandlers(pythonReset, pythonDump); 51} 52 53} // namespace Stats | 44namespace Stats 45{ 46 47extern void pythonDump(); 48extern void pythonReset(); 49 50void registerPythonStatsHandlers() 51{ 52 registerHandlers(pythonReset, pythonDump); 53} 54 55} // namespace Stats |