Changes to userland progress to tweak progress output for test161. We needed
more periodic progress in some cases due to the large slow down that happens when swapping is implemented (ASST3.3).
This commit is contained in:
@@ -78,4 +78,17 @@ nsay(const char *fmt, ...)
|
||||
#endif
|
||||
}
|
||||
|
||||
static
|
||||
inline
|
||||
void
|
||||
lsay(const char *fmt, ...)
|
||||
{
|
||||
char buf[256];
|
||||
va_list ap;
|
||||
va_start(ap, fmt);
|
||||
vsnprintf(buf, sizeof(buf), fmt, ap);
|
||||
va_end(ap);
|
||||
write(STDOUT_FILENO, buf, strlen(buf));
|
||||
}
|
||||
|
||||
#endif /* _TEST_TEST_H_ */
|
||||
|
Reference in New Issue
Block a user