Why does my profile of my procedure seem to ignore the duration?

I am running 10.3.10-MariaDB-1: 10.3.10 + maria ~ bionic locally in Docker and I am profiling a procedure call through adminer:

SET SESSION profiled = 1;
CALL `add_user_to_role_in_unit`;

However, the duration of the 2.294 s call does not count the duration of the profile: 0.00033988

What am I missing?

Here is a summary of my problem: https://media.dev.unee-t.com/2018-12-14/duration.mp4