diff options
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/stream_file.c b/stream/stream_file.c index a79ef0e913..04e74c6b00 100644 --- a/stream/stream_file.c +++ b/stream/stream_file.c @@ -98,7 +98,9 @@ static int fill_buffer(stream_t *s, void *buffer, int max_len) #endif for (int retries = 0; retries < MAX_RETRIES; retries++) { + MP_STATS(s, "start read"); int r = read(p->fd, buffer, max_len); + MP_STATS(s, "end read"); if (r > 0) return r; |