AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 17.03.2008, 15:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,487 / 846 (79) +++++++
Регистрация: 28.10.2006
axStart: Starting the code profiler from code
Источник: http://axstart.spaces.live.com/Blog/...C0A0!281.entry
==============


The code profiler is a tool that tells you how many milliseconds a line of x++ code need to be executed. This tool is most of time used for analyses of defined scenario of your process. This code profiler runs the code in debug mode. So a process of 10 minutes can take 30 minutes when the code profiler is active. 
So a large run of 1 hour, reproduce with the code profiler, makes no since. The trick is to profile small part of the process. We can do this with existing macros in AX.
#profileBegin('myrun')
//mycode
#profileEnd
 
Later on you have to calculate the sum and line totals for that run. Give this run a new name, otherwise you don’t get the line, method and class totals. I think this is a bug.


Источник: http://axstart.spaces.live.com/Blog/...C0A0!281.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axStart: How to find line of code with a question mark in your AOT. Blog bot DAX Blogs 0 16.04.2008 22:05
axStart: Derive from Derived RunbaseBatch classes. Blog bot DAX Blogs 0 02.04.2008 20:05
axStart: Where is my code running Blog bot DAX Blogs 0 15.02.2008 16:40
при построении перекрёстных ссылок выдаётся сообщение об ошибках mmmax DAX: Программирование 10 21.01.2005 12:42
Говорят вышел SP2 для Axapta 3. Кто нибуть что знает на эту тему? soin DAX: Прочие вопросы 10 13.10.2003 10:43

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 19:15.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.