विंडोज़ फ़ाइल के साथ एक क्रिया करने के लिए समय की मात्रा निर्धारित करता है?

विषयसूची:

विंडोज़ फ़ाइल के साथ एक क्रिया करने के लिए समय की मात्रा निर्धारित करता है?
विंडोज़ फ़ाइल के साथ एक क्रिया करने के लिए समय की मात्रा निर्धारित करता है?

वीडियो: विंडोज़ फ़ाइल के साथ एक क्रिया करने के लिए समय की मात्रा निर्धारित करता है?

वीडियो: विंडोज़ फ़ाइल के साथ एक क्रिया करने के लिए समय की मात्रा निर्धारित करता है?
वीडियो: Add Open in Terminal Command to Nautilus Context Menu in Ubuntu Linux - YouTube 2024, जुलूस
Anonim
विंडोज़ पर 'शेष समय' अनुमान किसी भी समय पागल ड्राइव करने के लिए पर्याप्त हैं, लेकिन क्या आपने कभी सोचा है कि विंडोज उन समयों को कैसे निर्धारित करता है? आज के सुपर यूज़र क्यू एंड ए पोस्ट में एक उत्सुक, फिर भी निराश, पाठक के प्रश्न के लिए कुछ जवाब हैं।
विंडोज़ पर 'शेष समय' अनुमान किसी भी समय पागल ड्राइव करने के लिए पर्याप्त हैं, लेकिन क्या आपने कभी सोचा है कि विंडोज उन समयों को कैसे निर्धारित करता है? आज के सुपर यूज़र क्यू एंड ए पोस्ट में एक उत्सुक, फिर भी निराश, पाठक के प्रश्न के लिए कुछ जवाब हैं।

आज का प्रश्न और उत्तर सत्र हमारे पास सुपरयूसर की सौजन्य है - स्टैक एक्सचेंज का एक उपविभाग, क्यू एंड ए वेब साइट्स का एक समुदाय संचालित समूह।

वास्तव में famecore मैं विंडोज 8.1 फ़ाइल स्थानांतरण खिड़की स्क्रीनशॉट सौजन्य।

प्रश्न

सुपर यूज़र रीडर 'मैं वास्तव में फ़ेमकोर' जानना चाहता हूं कि कैसे विंडोज फ़ाइल को एक ऑपरेशन करने के लिए कितना समय लगेगा यह निर्धारित करता है:

I wanted to know if there is an equation that Windows uses to determine how long it takes to perform an action with a file such as: deleting, copying, erasing, or installing.

Image
Image

For example, when I delete a file and Windows says Time remaining: 18 seconds, how is it calculating this number, and what does it use to calculate it?

क्या विंडोज एक ऑपरेशन करने के लिए शेष समय निर्धारित करने के लिए एक विशेष समीकरण का उपयोग करता है, या क्या यह सिर्फ 'सर्वश्रेष्ठ अनुमान' अनुमान प्रदान करता है?

उत्तर

SuperUser योगदानकर्ता Valmiky Arquissandas और रिचर्ड के पास हमारे लिए जवाब है। सबसे पहले, वाल्मीकी अर्क्विसंदस:

Have you noticed that it usually does not give you any estimates during the first few seconds?

That is because during the first few seconds, it just does the operation it has to do. Then, after a short amount of time, it knows how much it has already copied/deleted/etc, and how long it took. That gives you the average speed of the operation.

Then, divide the remaining bytes by the speed, and you have the time it will take to complete the operation.

This is elementary school math. If you want to travel 360 km, and at the end of the first minute you have traveled 1 km, how long will it take you to reach your destination?

Well, the speed is 1 km/minute, so that is 60 km/hour. 360 km divided by 60 km/hour gives you an estimated time of 6 hours (or 360 km / 1 km/minute = 360 minutes = 6 hours). Since you have already traveled for one minute, then the estimated time left is 5 hours and 59 minutes.

Substitute travel with copy, km with bytes, and that answers your question.

Different systems have different ways of estimating time. You can take the last minute and the estimates may vary wildly. Or you can take the full time, and if the speed actually changes permanently, your estimates may be far removed from reality. What I described is the simplest method.

रिचर्ड से जवाब का पालन किया:

If you are interested, this question tells you how Windows and OSX formats the time left into the progress bar once it has an idea how long it has remaining.

When shortening time expressions in progress dialogs, should they be rounded up or down?

Raymond Chen, a developer on the Windows team at Microsoft, confirms this algorithm (see Valmiky’s answer above) in a posting on his blog. He also explains why it can be wrong.

Why does the copy dialog give such horrible estimates?

स्पष्टीकरण में जोड़ने के लिए कुछ है? टिप्पणियों में विचार व्यक्त करो। अन्य तकनीक-समझदार स्टैक एक्सचेंज उपयोगकर्ताओं से अधिक उत्तरों पढ़ना चाहते हैं? यहां पूर्ण चर्चा धागा देखें।

सिफारिश की: