#ifndef _KPVDEBUG_H
#ifdef DEBUG
#ifndef __LINE__
#define __LINE__ 0
#endif
#ifndef __FILE__
#endif
{
abort();
}
#include <sys/resource.h>
static double _getTime ( void )
{ double tm;
struct rusage u;
getrusage ( RUSAGE_SELF, &u );
return tm;
}
static double _Kpvtime;
#define TALLY(c,n,v) ((c) ? ((n) += (v)) : (n))
#define DECLARE(t,v) t v
#define SET(n,v) ((n) = (v))
#else
#define BEGTIME()
#define GETTIME()
#define ASSERT(p)
#define COUNT(n)
#define TALLY(c,n,v)
#define DECLARE(t,v)
#define SET(n,v)
#define KPV(x)
#define RETURN(x) return(x)
#define BREAK break
#endif /*DEBUG*/
#endif /*_KPVDEBUG_H*/