Ignore:
Timestamp:
Jul 25, 2025, 3:29:48 PM (8 months ago)
Author:
Mike Brooks <mlbrooks@…>
Branches:
master, stuck-waitfor-destruct
Children:
1eea589f, 29c6a7d
Parents:
7640ff5
Message:

Add code for reproducing performance numbers in thesis draft of 16a843

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/mike_brooks_MMath/benchmarks/list/fx-cfa-cfa.h

    r7640ff5 r7806f91  
    1 #include <containers/list.hfa>
    2 
    3 #define BFX_INTRUSION(S)                         inline dlink(S);
    4 #define BFX_EXTRUSION_DECL(S)
    5 #define BFX_EXTRUSION_FOLLOWUP(S)                P9_EMBEDDED( S, dlink(S) )
    6 #define BFX_LIST_HEAD_T(S)                       dlist(S)
    7 #define BFX_LISTED_ELEM_T(S)                     S*
    8 
    9 #define BFX_INSERT_FIRST(S, lst, item)           (insert_first (lst, item), (S*)&(item))
    10 #define BFX_INSERT_LAST(S, lst, item)            (insert_last  (lst, item), (S*)&(item))
    11 #define BFX_INSERT_BEFORE(S, lst, item, refIter) (insert_before(*refIter, item), (S*)&(item))
    12 #define BFX_INSERT_AFTER(S, lst, item, refIter)  (insert_after (*refIter, item), (S*)&(item))
    13 #define BFX_REMOVE_FIRST(S, lst)                 remove( first( lst ) )
    14 #define BFX_REMOVE_LAST(S, lst)                  remove( last( lst ) )
    15 #define BFX_REMOVE_HERE(S, lst, refIter)         remove(*refIter)
    16 #define BFX_INIT(S, lst)
    17 
    18 #define BFX_GET_AFTER(S, lst, iter)              (&next( *iter))
    19 #define BFX_GET_BEFORE(S, lst, iter)             (&prev( *iter ))
    20 #define BFX_IS_VALID_POS(S, lst, iter)           ((iter)!=NULL)
    21 #define BFX_DEREF_POS(S, lst, iter)              (iter)
     1#include "libcfa-fork-list.hfa" // same folder: latest and greatest
     2#include "fx-cfa-GENERAL.h"
Note: See TracChangeset for help on using the changeset viewer.