I've seen this question but unfortunately it doesn't contain an answer to my question.
The question is: how can I calculate actual hashrate of the whole network? As far as I understand, it depends on difficulty in some way but I can not understand that dependency.