The legendary say that you will cast a certain ability , depending of the form you're in , every 45 sec of combat .

What i want to know is : Do i have to spend 45 in combat in a single time ? or do multiple phases of combat , let's say 20 sec , then 20 sec and the legendary will proc at the 5 second mark of the third battle?