CacheRecorder.hh (11049:dfb0aa3f0649) CacheRecorder.hh (11061:25b53a7195f7)
1/*
2 * Copyright (c) 1999-2012 Mark D. Hill and David A. Wood
3 * Copyright (c) 2010 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 63 unchanged lines hidden (view full) ---

72
73 CacheRecorder(uint8_t* uncompressed_trace,
74 uint64_t uncompressed_trace_size,
75 std::vector<Sequencer*>& SequencerMap,
76 uint64_t block_size_bytes);
77 void addRecord(int cntrl, Addr data_addr, Addr pc_addr,
78 RubyRequestType type, Tick time, DataBlock& data);
79
1/*
2 * Copyright (c) 1999-2012 Mark D. Hill and David A. Wood
3 * Copyright (c) 2010 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 63 unchanged lines hidden (view full) ---

72
73 CacheRecorder(uint8_t* uncompressed_trace,
74 uint64_t uncompressed_trace_size,
75 std::vector<Sequencer*>& SequencerMap,
76 uint64_t block_size_bytes);
77 void addRecord(int cntrl, Addr data_addr, Addr pc_addr,
78 RubyRequestType type, Tick time, DataBlock& data);
79
80 uint64 aggregateRecords(uint8_t** data, uint64 size);
80 uint64_t aggregateRecords(uint8_t **data, uint64_t size);
81
82 /*!
83 * Function for flushing the memory contents of the caches to the
84 * main memory. It goes through the recorded contents of the caches,
85 * and issues flush requests. Except for the first one, a flush request
86 * is issued only after the previous one has completed. This currently
87 * requires use of MOESI Hammer protocol since only that protocol
88 * supports flush requests.

--- 42 unchanged lines hidden ---
81
82 /*!
83 * Function for flushing the memory contents of the caches to the
84 * main memory. It goes through the recorded contents of the caches,
85 * and issues flush requests. Except for the first one, a flush request
86 * is issued only after the previous one has completed. This currently
87 * requires use of MOESI Hammer protocol since only that protocol
88 * supports flush requests.

--- 42 unchanged lines hidden ---