×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    20

    stochastic or instrumental performance evaluation

    Hi!
    I have to develop an application in symbian C++ for S60
    phones that measures the memory consumption and the time CPU;
    I know that performance investigator in Carbide C++ Pro can do the task
    but I have to develop my own application.
    Do you think that it is easy to develop such application like
    performance investigator with a sampler and a profiler or it is better to
    develop some classes to integrate in the lines of code of the
    application
    thanks for help

  2. #2
    Registered User
    Join Date
    May 2007
    Posts
    22

    Re: stochastic or instrumental performance evaluation

    I found dynamic memory profiling is possible using following code snippet

    int AllocatedBytes, TotalHeapCells, UsedHeapCells, FreeHeapCells, FreeBytes, BiggestBlock;
    /* Get Process Heap Status */
    User::AllocSize(AllocatedBytes);
    UsedHeapCells = User::CountAllocCells(FreeHeapCells);
    FreeBytes = User::Available(BiggestBlock);

    DEBUG_PRINT(("APA: Heap Cells Used:%d Free:%d Bytes Used:%d Free :%d Biggest BlockSize:%d", UsedHeapCells, FreeHeapCells, AllocatedBytes, FreeBytes, BiggestBlock));
    ----------------------------
    Bino George
    IM: a_binogeorge@yahoo.com a.binogeorge@gmail.com
    Mobile: +91-98861-74374

Similar Threads

  1. Performance estimation with emulators?
    By javanerd in forum Mobile Java General
    Replies: 3
    Last Post: 2007-04-23, 12:04
  2. Symbian OS+nokia 6600+MMC card performance issues
    By mail2gops in forum General Development Questions
    Replies: 1
    Last Post: 2005-12-16, 14:16
  3. SMS I/O Control Application via Evaluation Module
    By alokghosh in forum Nokia M2M
    Replies: 2
    Last Post: 2003-06-18, 17:05
  4. Replies: 2
    Last Post: 2002-11-25, 20:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×