kerneltest/e32test/benchmark/bm_suite.h
branchRCL_3
changeset 39 2bb754abd467
parent 0 a41df078684a
equal deleted inserted replaced
36:bbf8bed59bcb 39:2bb754abd467
   224 	 * 
   224 	 * 
   225 	 */
   225 	 */
   226 	KBMPriorityHigh = 60, // 60 is above all DFC 26 is below timer DFC
   226 	KBMPriorityHigh = 60, // 60 is above all DFC 26 is below timer DFC
   227 	/**
   227 	/**
   228 	 * Absolute priority to be used for middle-priority threads.
   228 	 * Absolute priority to be used for middle-priority threads.
   229 	 * This is also the default prioirty - performance benchmarks are started at this prioirty.
   229 	 * This is also the default priority - performance benchmarks are started at this prioirty.
   230 	 */	
   230 	 */	
   231 	KBMPriorityMid = KBMPriorityHigh - 1,
   231 	KBMPriorityMid = KBMPriorityHigh - 1,
   232 	/**
   232 	/**
   233 	 * Absolute priority to be used for low-priority threads.
   233 	 * Absolute priority to be used for low-priority threads.
   234 	 */
   234 	 */
   272 	 * The child entry point.
   272 	 * The child entry point.
   273 	 * Intialized by constructor.
   273 	 * Intialized by constructor.
   274 	 */
   274 	 */
   275 	TThreadFunction iChildFunc;
   275 	TThreadFunction iChildFunc;
   276 	/**
   276 	/**
   277 	 * The child thread absolute prioirty.
   277 	 * The child thread absolute priority.
   278 	 * Intialized by constructor.
   278 	 * Intialized by constructor.
   279 	 */
   279 	 */
   280 	TInt			iChildPrio;
   280 	TInt			iChildPrio;
   281 
   281 
   282 	TInt			iChildOrigPriority;
   282 	TInt			iChildOrigPriority;
   291 	static const TInt KMagic;
   291 	static const TInt KMagic;
   292 	/**
   292 	/**
   293 	 * Construct a new <code>TBMSpawnArgs</code> object.
   293 	 * Construct a new <code>TBMSpawnArgs</code> object.
   294 	 *
   294 	 *
   295 	 * @param aChildFunc the child entry point
   295 	 * @param aChildFunc the child entry point
   296 	 * @param aChildPrio the child thread absolute prioirty
   296 	 * @param aChildPrio the child thread absolute priority
   297 	 * @param aRemote if <code>ETrue</code> the child thread must be created in a separate process; 
   297 	 * @param aRemote if <code>ETrue</code> the child thread must be created in a separate process; 
   298 	 *		otherwise, the child thread must be created within the parent's process.
   298 	 *		otherwise, the child thread must be created within the parent's process.
   299 	 */
   299 	 */
   300 	TBMSpawnArgs(TThreadFunction aChildFunc, TInt aChildPrio, TBool aRemote, TInt aSize);
   300 	TBMSpawnArgs(TThreadFunction aChildFunc, TInt aChildPrio, TBool aRemote, TInt aSize);
   301 	/**
   301 	/**
   341 	/**
   341 	/**
   342 	 * Utility function to change a thread's absolute priority.
   342 	 * Utility function to change a thread's absolute priority.
   343 	 * 
   343 	 * 
   344 	 * @param aThread a handle ro the target thread.
   344 	 * @param aThread a handle ro the target thread.
   345 	 * @param aNewPrio a new absolute priority for the target thread
   345 	 * @param aNewPrio a new absolute priority for the target thread
   346 	 * @return the old absolute prioirty of the target thread 
   346 	 * @return the old absolute priority of the target thread 
   347 	 */
   347 	 */
   348 	static TInt SetAbsPriority(RThread aThread, TInt aNewPrio);	
   348 	static TInt SetAbsPriority(RThread aThread, TInt aNewPrio);	
   349 	
   349 	
   350 	/**
   350 	/**
   351 	 * Constructs a new <code>BMProgram</code> object.
   351 	 * Constructs a new <code>BMProgram</code> object.