      n))
 
 (defn create-busy-sleep-proc-fns
+  "Create a vector of processing functions that perform a busy sleep.
+   The duration of the busy sleep is given as input data in nanoseconds."
   [n]
   (utils/create-proc-fn-vec-from-template
     '(fn [i _] (dsbdp.ExperimentHelper/busySleep ^long (i :_idx_)) 0)

       n))))

(defn factorial
  ([n]
    (factorial 1N 1N n))
  ([result i n]

    n))

(defn create-inc-proc-fns
  "Create a vector of functions which each perform a single increment operation.
   The first function will increment the input argument and subsequent functions will increment the output argument."
  [n]
  (utils/create-proc-fn-vec-from-template
    '(fn [i _] (inc i))
