[DEV] update display errors
This commit is contained in:
parent
bc29612e37
commit
a0f6e268af
2
build
2
build
@ -1 +1 @@
|
|||||||
Subproject commit eb447c39c550322de11af033ddbca98cb9152f83
|
Subproject commit bb36f26b0b57443af42100be66f83a3b91183674
|
2
external/airtaudio
vendored
2
external/airtaudio
vendored
@ -1 +1 @@
|
|||||||
Subproject commit f8b2271dffdab57d96b43c010428f19dc9fff6d0
|
Subproject commit bcf636ce0dd91091340b2cd81c8247e181867f22
|
@ -556,7 +556,6 @@ bool ewol::Context::OS_Draw(bool _displayEveryTime) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
//EWOL_DEBUG("DRAW");
|
|
||||||
m_previousDisplayTime = currentTime;
|
m_previousDisplayTime = currentTime;
|
||||||
|
|
||||||
// process the events
|
// process the events
|
||||||
|
@ -82,7 +82,7 @@ namespace ewol {
|
|||||||
int64_t currentTime = ewol::getTime();
|
int64_t currentTime = ewol::getTime();
|
||||||
int64_t processTimeLocal = (currentTime - ticTime);
|
int64_t processTimeLocal = (currentTime - ticTime);
|
||||||
if (displayTime == true) {
|
if (displayTime == true) {
|
||||||
EWOL_DEBUG(m_displayName << " : processTime : " << (float)((float)processTimeLocal / 1000.0) << "ms ");
|
EWOL_INFO(m_displayName << " : processTime : " << (float)((float)processTimeLocal / 1000.0) << "ms ");
|
||||||
}
|
}
|
||||||
if (drwingDone) {
|
if (drwingDone) {
|
||||||
min = etk_min(min, processTimeLocal);
|
min = etk_min(min, processTimeLocal);
|
||||||
@ -108,19 +108,19 @@ namespace ewol {
|
|||||||
void draw(void) {
|
void draw(void) {
|
||||||
if (true == display) {
|
if (true == display) {
|
||||||
if (nbDisplayTime>0) {
|
if (nbDisplayTime>0) {
|
||||||
EWOL_DEBUG(m_displayName << " : Active : "
|
EWOL_INFO(m_displayName << " : Active : "
|
||||||
<< (float)((float)min / 1000.0) << "ms "
|
<< (float)((float)min / 1000.0) << "ms "
|
||||||
<< (float)((float)avg / (float)nbDisplayTime / 1000.0) << "ms "
|
<< (float)((float)avg / (float)nbDisplayTime / 1000.0) << "ms "
|
||||||
<< (float)((float)max / 1000.0) << "ms ");
|
<< (float)((float)max / 1000.0) << "ms ");
|
||||||
}
|
}
|
||||||
if (nbCallTime-nbDisplayTime>0) {
|
if (nbCallTime-nbDisplayTime>0) {
|
||||||
EWOL_DEBUG(m_displayName << " : idle : "
|
EWOL_INFO(m_displayName << " : idle : "
|
||||||
<< (float)((float)min_idle / 1000.0) << "ms "
|
<< (float)((float)min_idle / 1000.0) << "ms "
|
||||||
<< (float)((float)avg_idle / (float)(nbCallTime-nbDisplayTime) / 1000.0) << "ms "
|
<< (float)((float)avg_idle / (float)(nbCallTime-nbDisplayTime) / 1000.0) << "ms "
|
||||||
<< (float)((float)max_idle / 1000.0) << "ms ");
|
<< (float)((float)max_idle / 1000.0) << "ms ");
|
||||||
}
|
}
|
||||||
if (true == m_displayFPS) {
|
if (true == m_displayFPS) {
|
||||||
EWOL_DEBUG("FPS : " << nbDisplayTime << "/" << nbCallTime << "fps");
|
EWOL_INFO("FPS : " << nbDisplayTime << "/" << nbCallTime << "fps");
|
||||||
}
|
}
|
||||||
max = 0;
|
max = 0;
|
||||||
min = 99999999999999LL;
|
min = 99999999999999LL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user