-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
cf. https://github.com/crill-dev/crill/blob/main/include/crill/progressive_backoff_wait.h#L43
void progressive_backoff_wait(Predicate&& pred)
{
#if CRILL_INTEL
impl::progressive_backoff_wait_intel<5, 10, 3000>(std::forward<Predicate>(pred));
// approx. 5x5 ns (= 25 ns), 10x40 ns (= 400 ns), and 3000x350 ns (~ 1 ms),
// respectively, when measured on a 2.9 GHz Intel i9
#elif CRILL_ARM_64BIT
impl::progressive_backoff_wait_armv8<2, 750>(std::forward<Predicate>(pred));
// approx. 2x10 ns (= 20 ns) and 750x1333 ns (~ 1 ms), respectively, on an
// Apple Silicon Mac or an armv8 based phone.
#else
#error "Platform not supported!"
#endif
}I'm a very beginner on C++ etc. what could be done to have it working (or at least compiling) on armv7 ?
For now, I comment the erroneous line when I compile for armv7 since the method isn't called at all:
- #error "Platform not supported!"
+ // #error "Platform not supported!"Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels