Analysis of resource usage by applications in Windows