I couldn't find any EU law reference of any timeframe to count 90 total days. 90 days per semester, per year, in a lifetime ?
Then, my understanding is 90 consecutive days.
If you play by the rules, you have to register yourself to belgian municipality in the first 10 days of your stay "if...