Test speed

This commit is contained in:
jl777
2019-02-17 02:57:06 -11:00
parent 0bd1056020
commit 35eb8d347a
2 changed files with 2 additions and 2 deletions

View File

@@ -162,7 +162,7 @@ int32_t mvaddch(int32_t y, int32_t x, chtype ch)
int32_t waddstr(WINDOW *win, const char *str)
{
int32_t i;
fprintf(stderr,"%s\n",str);
//fprintf(stderr,"%s\n",str);
for (i=0; str[i]!=0; i++)
waddch(win,str[i]);
return(0);

View File

@@ -252,7 +252,7 @@ int32_t rogue_replay2(uint8_t *newdata,uint64_t seed,char *keystrokes,int32_t nu
}
uint32_t starttime = (uint32_t)time(NULL);
rogueiterate(rs);
if ( 0 )
if ( 1 )
{
fprintf(stderr,"elapsed %d seconds\n",(uint32_t)time(NULL) - starttime);
sleep(2);