changeset 22 | effbe8362efc |
parent 13 | cef4ff1e6c4f |
child 59 | 0f7422b6b602 |
16:ef634fd8dac3 | 22:effbe8362efc |
---|---|
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 // --------------------------------------------------------------------------- |