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

Last change on this file since d2e6f84 was 6c58850, checked in by Michael Brooks <mlbrooks@…>, 6 weeks ago

Revise data in linked-list plots with streamlined harness and data from runs on swift.

No change to text discussing the plots, so some of that discussion is now stale.

Harness changes allow more ifdef feature disabling and eliminate side-array usage, keeping all per-node harness state inside the list nodes.

Completely disable the interleaving experiment, which was not giving discernable data.

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