Mercurial > hg > Members > koba > t_dandy
view trace.h @ 67:21ac9f57a6d4
Mac OS X 64bit
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 21 May 2011 16:27:41 +0900 |
parents | 56ef94618a0e |
children |
line wrap: on
line source
#ifndef INCLUDE_TRACE_H #define INCLUDE_TRACE_H #include "object.h" #include "sgoex.h" #define PAD_BUFSIZE 5000 typedef struct TraceBuff TraceBuff, *TraceBuffPtr; struct TraceBuff { SGO_PAD cappad[PAD_BUFSIZE]; TraceBuffPtr next; }; void pad_trace(int); int PadfileOpen(const char* filename); void PadfileRead(TraceBuffPtr buff); void PadfileWrite(TraceBuffPtr buff); TraceBuffPtr CapturePad(TraceBuffPtr buff, SGO_PAD *pad); TraceBuffPtr TracePad(TraceBuffPtr buff, SGO_PAD *pad); void PadfileClose(TraceBuffPtr buff); #endif