zoukankan      html  css  js  c++  java
  • AQTime + Delphi

     

    一,Delphi项目设置For AQTime(Delphi 2007 for Win32 application for AQtime)                                                            

    1. Open your project in CodeGear Delphi 2007 for Win32.
    2. Select Project | Configuration Manager from the main menu. This will open the Build Configuration Manager dialog. Select the Debug configuration for your project:

                                                                      

                                    
                                                                       

                                                                        

              

                                                                          

     

     

            

    以下是AQTime设置:

     

    一."Configure Current Profiler"    ---> "Alloction Profiler"

    二. "Options" -----> "Searcher Directories..."--->"Get Defaults..." ----> "CodeGear Delphi 2007" 

         构选"Include Subdirectories"

    三.运行程序

        "Result" -->"左边树节点"-->"Report" 此界面下显示,每个没个没有释放内存的代码,

         "Details",和没有释放内存相关的单元, 里面单元很多,只有一个单元是创建内存的地方,其它辅助.双击里面的条目可以定位到"Editor"界面,

         "Editor"查看"Details"中过来的代码.

     

    Total Created 程序运行期间创建的内存总数目
    Live Count 当前还有多少数目内存未释放
    Live Size 当前还有多大内存未释放
    Total Size 程序运行期间创建的内存总大小
  • 相关阅读:
    页面性能:如何系统地优化页面?
    为什么CSS动画比JavaScript高效?
    Code Review
    浏览器中的页面之CSS是如何影响到渲染流程的
    async / await
    手撸Promise
    Promise
    宏任务和微任务
    有点恶心,随手写点儿
    关于判断用户输入的是不是int类型,这次没有正则表达式
  • 原文地址:https://www.cnblogs.com/khzide/p/5012071.html
Copyright © 2011-2022 走看看