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. 为了使其余人免于遭受一样的麻烦,我认为将全部分散的信息以及经过反复试验发现的信息收集到一个地方是一个好主意。 性能