Sign in
opensecura
/
3p
/
cheriot-rtos
/
d1b87682d0decf0ac99e2d95642dae926b84d835
/
.
/
benchmarks
/
stack-usage
/
callee.cc
blob: da57abdf29bb024b57969bf4e034137ce547e477 [
file
] [
log
] [
blame
]
#include
"callee.h"
#include
"../timing.h"
int
noop_return
(
size_t
s
)
{
use_stack
(
s
);
return
rdcycle
();
}
int
noop_call
(
int
start
)
{
int
end
=
rdcycle
();
check_stack_zeroed
();
return
end
-
start
;
}