Time.delta time when called outside update()

Hello, inside a class method, I need to set the amount of time a certain key is pressed:

void SomeFunc() {

// ...
timePressed += Time.deltaTime;
// ...

}

I’m now wondering how accurate this is: my understanding is that Time.deltaTime is the amount of time it took to execute the last frame.
Update() is guaranteed to execute once per frame, but how about other functions like SomeFunc() ? What happens what frames are dropped for instance ?

Thanks

Supposing SomeFunc() is called inside the Update() function (or from a function inside the Update function, …), it will also be called once per frame. Thus, Time.deltaTime will be the same inside the Update() function and inside the SomeFunc() function.