stat_register.hh (11800:54436a1784dc) | stat_register.hh (11990:5fad911cc326) |
---|---|
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 --- 24 unchanged lines hidden (view full) --- 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 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/* Provide a mechanism to register the Python stats reset/dump functions | 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 --- 24 unchanged lines hidden (view full) --- 33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 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/* Provide a mechanism to register the Python stats reset/dump functions |
41 * defined in src/swig/python/stats.i with the mechanisms in namespace | 41 * defined in src/python/pybind11/stats.cc with the mechanisms in namespace |
42 * Stats */ 43 44#ifndef __SIM_STAT_REGISTER_H__ 45#define __SIM_STAT_REGISTER_H__ 46 47namespace Stats 48{ 49 50/** Register py_... functions as the statistics handlers */ 51void registerPythonStatsHandlers(); 52 53} // namespace Stats 54 55#endif // __SIM_STAT_REGISTER_H__ | 42 * Stats */ 43 44#ifndef __SIM_STAT_REGISTER_H__ 45#define __SIM_STAT_REGISTER_H__ 46 47namespace Stats 48{ 49 50/** Register py_... functions as the statistics handlers */ 51void registerPythonStatsHandlers(); 52 53} // namespace Stats 54 55#endif // __SIM_STAT_REGISTER_H__ |