sensorservices/sensorserver/src/server/sensrvpluginproxy.cpp
branchRCL_3
changeset 10 66ecddbca914
parent 7 1fc153c72b60
child 21 ccb4f6b3db21
equal deleted inserted replaced
9:21e939dd208a 10:66ecddbca914
  1340         {
  1340         {
  1341         ERROR_TRACE( ( _L( "Sensor Server - SsyThreadFunction() - ERROR: NULL proxy, cannot start thread." ) ) );
  1341         ERROR_TRACE( ( _L( "Sensor Server - SsyThreadFunction() - ERROR: NULL proxy, cannot start thread." ) ) );
  1342         return KErrBadHandle;
  1342         return KErrBadHandle;
  1343         }
  1343         }
  1344 
  1344 
  1345     __UHEAP_MARK;
  1345    // __UHEAP_MARK;
  1346 
  1346 
  1347 #ifdef MEMORY_TRACE_DEBUG
  1347 #ifdef MEMORY_TRACE_DEBUG
  1348     // TRACE heap usage
  1348     // TRACE heap usage
  1349     TInt heapSize = User::Heap().Size();
  1349     TInt heapSize = User::Heap().Size();
  1350     TInt biggestBlock(0);
  1350     TInt biggestBlock(0);
  1426     heapAvail = User::Heap().Available(biggestBlock);
  1426     heapAvail = User::Heap().Available(biggestBlock);
  1427     TInt newUsed(heapSize-heapAvail);
  1427     TInt newUsed(heapSize-heapAvail);
  1428     MEMORY_TRACE( ( _L( "#### Sensor Server, SSY exit - HEAP: Size: %d, Available: %d, Used: %d, Change in used: %d" ), heapSize, heapAvail, newUsed, newUsed - used ) );
  1428     MEMORY_TRACE( ( _L( "#### Sensor Server, SSY exit - HEAP: Size: %d, Available: %d, Used: %d, Change in used: %d" ), heapSize, heapAvail, newUsed, newUsed - used ) );
  1429 #endif
  1429 #endif
  1430 
  1430 
  1431     __UHEAP_MARKEND;
  1431    // __UHEAP_MARKEND;
  1432 
  1432 
  1433     return err;
  1433     return err;
  1434     }
  1434     }
  1435 
  1435 
  1436 // ---------------------------------------------------------------------------
  1436 // ---------------------------------------------------------------------------