Sign in
opensecura
/
3p
/
cheriot-rtos
/
7b7570bd7a237b96ac5f8b726401fd649e3d09fd
/
.
/
benchmarks
/
stack-usage
/
callee.cc
blob: 277426aad4a00fae384a74470bf3fe41b0b96131 [
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
;
}