diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 81170d27e..cf34eb989 100644 --- a/src/main.c +++ b/src/main.c @@ -54,6 +54,7 @@ #include <fcntl.h> #include <pwd.h> #include <grp.h> +#include <time.h> #include <unistd.h> #define SYSTEM_CONFIG_FILE_LOCATION "/etc/mpd.conf" @@ -526,7 +527,10 @@ int main(int argc, char *argv[]) freeAllInterfaces(); closeAllListenSockets(); + clock_t start = clock(); closeMp3Directory(); + DEBUG("closeMp3Directory took %f seconds\n", + ((float)(clock()-start))/CLOCKS_PER_SEC); finishPlaylist(); freePlayerData(); |