source: doc/theses/mike_brooks_MMath/benchmarks/list/observation.h @ 508671e

Last change on this file since 508671e was 2b01f8e, checked in by Mike Brooks <mlbrooks@…>, 20 months ago

Adjust LL perf to use a random layout of nodes in memory

  • Property mode set to 100644
File size: 714 bytes
Line 
1#include "proglang.h"
2
3MAYBE_EXTERN_C (
4
5    // driver.c defines
6
7    extern enum bobs_op_movement_t { stack, queue } bobs_op_movement;
8    extern enum bobs_op_polarity_t { insfirst, inslast } bobs_op_polarity;
9
10    void   bobs_seek(unsigned int);
11    void   bobs_moveNext();
12    void   bobs_movePrev();
13    int    bobs_hasCurrent();
14    void * bobs_getCurrentLoc();
15    int    bobs_getCurrentVal();
16
17    extern volatile size_t       bobs_ops_completed;
18    extern volatile unsigned int bobs_prog_inserting;
19    extern volatile unsigned int bobs_prog_removing;
20    extern volatile unsigned int bobs_prog_rollover_flag;
21
22    // observation.c defines
23
24    void bobs_init(int NumNodes);
25    void bobs_report(void);
26)
Note: See TracBrowser for help on using the repository browser.