mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
stats: count up sprixel elisions/emissions #1566
This commit is contained in:
parent
6c7b40debf
commit
ac72c982d7
@ -888,7 +888,9 @@ clean_sprixels(notcurses* nc, const ncpile* p, FILE* out){
|
||||
nc->rstate.hardcursorpos = true;
|
||||
parent = &s->next;
|
||||
}
|
||||
++nc->stats.sprixelemissions;
|
||||
}else{
|
||||
++nc->stats.sprixelelisions;
|
||||
parent = &s->next;
|
||||
}
|
||||
}
|
||||
|
@ -187,7 +187,7 @@ void summarize_stats(notcurses* nc){
|
||||
totalbuf, minbuf, avgbuf, maxbuf);
|
||||
}
|
||||
if(stats->renders || stats->failed_renders){
|
||||
fprintf(stderr, "%ju failed render%s, %ju failed rasters%s, %ju refresh%s\n",
|
||||
fprintf(stderr, "%ju failed render%s, %ju failed raster%s, %ju refresh%s\n",
|
||||
stats->failed_renders,
|
||||
stats->failed_renders == 1 ? "" : "s",
|
||||
stats->failed_writeouts,
|
||||
|
Loading…
Reference in New Issue
Block a user