//Editor-Info: -*- C++ -*-
//
//Subject: TOVE project / pf
//
//File: memory.h
//
//Version: $Revision: 1.2 $
//
//State: $State: Exp $
//
//Date: $Date: 1998/10/05 14:20:19 $
//
//Organisation:
//      Helsinki University of Technology
//      Laboratory of Telecommunications Software and Multimedia
//
//Author:
//      Vesa-Matti Puro
//
//Description:
//
//
//Copyright:
//      Copyright 1999 Helsinki University of Technology
//      ALL RIGHTS RESERVED BETWEEN JANUARY 1996 AND JUNE 1999.
//
//Licence:
//
//
//History:
//
//

#ifndef __PF_HEAPSTAT_H__
#define __PF_HEAPSTAT_H__

#include <typeinfo>
#include <new>
#include <stddef.h>

class pfMemory
{
    public:
        static void reset (void);
        static void report (void);

    private:
        friend void *operator new(size_t);
        friend void operator delete(void *) throw();
        friend class pfFrame;
        static int _newCount;
        static int _deleteCount;
        static int _lazyFrameCopyCount;
};

#endif // __PF_HEAPSTAT_H__

