Skip to content

Commit

Permalink
Hack: create slowdown for Adiar
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Nov 24, 2023
1 parent fe56517 commit 71ea28d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/adiar/bdd/apply.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <adiar/bdd.h>
#include <adiar/bdd/bdd_policy.h>

#include<unistd.h>

#include <adiar/internal/assert.h>
#include <adiar/internal/cut.h>
#include <adiar/internal/dd_func.h>
Expand Down Expand Up @@ -119,6 +121,7 @@ namespace adiar

__bdd bdd_apply(const exec_policy &ep, const bdd &f, const bdd &g, const bool_op &op)
{
usleep(42); // HACK: Force a slowdown
return internal::prod2<apply_prod2_policy>(ep, f, g, op);
}

Expand Down

0 comments on commit 71ea28d

Please sign in to comment.