#include <DisplayCore.h>
#include <iostream>
#include <cassert>
int main(){uint32_t lastRefresh=0;bool changed=true,busy=false;unsigned updates=0;
for(uint32_t now=0;now<=180000;now+=1000){
    if(changed&&!busy&&displaylab::elapsed(now,lastRefresh,60000)){++updates;lastRefresh=now;changed=false;}
    if(now==90000)changed=true; // new local content; defer to the next allowed slot
}
assert(updates==2);std::cout<<"coalesced slow-display update requests: "<<updates<<"\n";
#if DISPLAY_STAGE >= 2
std::cout<<"Refresh interval is a policy example, not a verified panel limit or driver.\n";
#endif
}
