Hi @emanuelbuchholz, and welcome to the Nengo forums! 
Using the python time
mechanism, and the nxsdk execution time probe measures two different things. When you do this:
sim_start = time.time()
with sim:
sim.run(run_time)
sim_end= time.time()
Multiple things are being measured. These are (in sort of the right order):
- The time it takes for Nengo to build your model.
- And the time it takes for NengoLoihi to take the built Nengo model and compile it into something that the Loihi board can use.
- And the time it takes for NxSDK to load and compile the model onto the Loihi board.
- And the time it takes for the Loihi board to initialize.
- And the time it takes for the simulation to finish running (this includes any I/O between the Loihi board and the superhost computer)
- And the time it takes for the simulation to complete, and shut down
In comparison, the NxSDK execution time probe only measures the time it takes for the simulation to run on the board (and any I/O that is between the board and superhost computer) – i.e., #5 from the above list.
As to your question, it’s impossible to get the python time package to report a measurement closer to the NxSDK execution time probe (because they are measuring two different things). Depending on your specific use case, you’ll have to use either one of them, or both! 