Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

veo61.cpp File Reference

Detailed Description

Wrapper Funktions and Allocation for RTE C_Code.

JoergM area Simple Kernel TRACE
See also:
example.html ...

Definition in file veo61.cpp.

#include "geo61.h"
#include "heo61.h"
#include "geo00_0.h"
#include "heo00.h"
#include "geo50_0.h"
#include <new.h>

Go to the source code of this file.


#define CURRENT_TASK()   THIS_UKT_CTRL->curr_task
#define ID_TO_TASK(_id)   (KGS->pFirstTaskCtrl + ((_id) - 1))
#define NUM_OF_TASKS()   KGS->ulNumOfTasks


externC tsp00_Bool vtrack_alloc (tsp00_Int4 size)
 Allocate a TrackBuffer with a given size.
externC tsp00_Int4 vtrack_check ()
 Return the counter of the overflow element if overflow occured.
externC tsp00_Int4 vtrack_dump_check (tsp00_TaskId id)
 Return the count of overflows (if any) occured in task specific TrackBuffer.
externC tsp00_Bool vtrack_dump_first (void **pVtrace, tsp00_Int4 *pLen, tsp00_TaskId *pId)
 Return the first element of the first task that has a TrackBuffer.
externC tsp00_Bool vtrack_dump_next (void **pVtrace, tsp00_Int4 *pLen, tsp00_TaskId *pId)
 Return the next element in TrackBuffer of given Task, skipping to next task if necessary.
externC void vtrack_empty ()
 Clear all entries in TrackBuffer.
externC tsp00_Bool vtrack_first (void **pVtrace, tsp00_Int4 *pLen)
 Return the first element in the TrackBuffer.
externC void vtrack_free ()
 Free a previously allocated TrackBuffer.
externC void vtrack_insert (void *vtrace, tsp00_Int4 len)
 Insert an element in the TrackBuffer.
externC tsp00_Bool vtrack_next (void **pVtrace, tsp00_Int4 *pLen)
 Return the next element in the TrackBuffer.
externC void vtrack_remove_last ()
 RemoveLast element in the TrackBuffer.

Generated by  Doxygen 1.6.0   Back to index