I once had the task of determining the following performance parameters from inside a running application: 我曾經負責從運行的應用程序內部肯定如下性能參數的任務: app
The code had to run on Windows and Linux. 該代碼必須在Windows和Linux上運行。 Even though this seems to be a standard task, finding the necessary information in the manuals (WIN32 API, GNU docs) as well as on the Internet took me several days, because there's so much incomplete/incorrect/outdated information on this topic to be found out there. 儘管這彷佛是一項標準任務,但在手冊(WIN32 API,GNU文檔)以及Internet上找到必要的信息仍是花了我幾天的時間,由於關於該主題的信息太多,不完整/不正確/過期發如今那裏。 ide
In order to save others from going through the same trouble, I thought it would be a good idea to collect all the scattered information plus what I found by trial and error here in one place. 爲了使其餘人免於遭受一樣的麻煩,我認爲將全部分散的信息以及經過反覆試驗發現的信息收集到一個地方是一個好主意。 性能