In GNU/Linux, is it possible to determine the time required to start a program? Where “start” is defined as having executed load_elf_binary() (or some other applicable function). In particular I want to write a program that can do this. I.e. a program, given another program as input, and then determine that time, with as high accuracy as possible.
Edit: Forgot to specify the hardware is x86-64.
NASA uses 386 and older hardware because they are deterministic, caches and super-scalar technologies make 486s and newer processors non-deterministic. It is thus non-trivial to determine the startup time.
Articles of interest: