Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to find the Browser Idle time?  RSS feed

 
Nathan KV
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai all,
I want to find the Idle time of the browser?
Can anyone know how to get the idle time of the browser?
Reply me immediately
regards
nathan
 
Tim Holloway
Bartender
Posts: 18662
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's system-dependent, and thus not available in Java code.
A browser's not a computing task, so "idle time" is a fairly meaningless concept. About as close as makes sense in a Java context is being concerned about Java Virtual Machines that go CPU-bound.
This is normally something you use profilers and performance monitors to address.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!