/home/michaell/software/ReuseDistance/ReuseDistance.hpp File Reference

#include <assert.h>
#include <stdlib.h>
#include <tree234.h>
#include <algorithm>
#include <iostream>
#include <ostream>
#include <list>
#include <map>
#include <vector>

Go to the source code of this file.

Classes

struct  ReuseEntry
class  ReuseDistance
class  ReuseStats
class  SpatialLocality

Defines

#define reuse_map_type   std::map
#define TAB   "\t"
#define ENDL   "\n"
#define __seq   id
#define INFINITY_REUSE   (0)
#define INVALID_SPATIAL   (0xFFFFFFFFFFFFFFFFL)

Functions

int reusecmp (void *va, void *vb)

Detailed Description

Author:
Michael Laurenzano <michaell@sdsc.edu>
Version:
0.01

LICENSE

This file is part of the ReuseDistance tool.

Copyright (c) 2012, University of California Regents All rights reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

DESCRIPTION

The ReuseDistanceHandler class allows for calculation and statistic tracking for finding memory reuse distances given a stream of memory addresses and ids.

Definition in file ReuseDistance.hpp.


Define Documentation

#define __seq   id

Definition at line 54 of file ReuseDistance.hpp.

#define ENDL   "\n"

Definition at line 52 of file ReuseDistance.hpp.

#define INFINITY_REUSE   (0)

Definition at line 57 of file ReuseDistance.hpp.

#define INVALID_SPATIAL   (0xFFFFFFFFFFFFFFFFL)

Definition at line 58 of file ReuseDistance.hpp.

#define reuse_map_type   std::map

Definition at line 48 of file ReuseDistance.hpp.

#define TAB   "\t"

Definition at line 51 of file ReuseDistance.hpp.


Function Documentation

int reusecmp ( void *  va,
void *  vb 
)
 All Classes Files Functions Variables Typedefs Defines
Generated on Sun Oct 21 14:56:28 2012 for ReuseDistance by  doxygen 1.6.3