Raised This Month: $ Target: $400
 0% 

List of high cpu usage functions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-18-2013 , 11:50   Re: List of high cpu usage functions
Reply With Quote #1

Hokking FM_Think, FM_Touch, FM_StartFrame, FM_AddToFullPack.
Or with engine : pfn_think, pfn_touch (or old one but still alive vexd_pfntouch), server_frame.

Instead of FM_Think and pfn_think, use register_think or hook Ham_Think, depending on your needs.
Instead of FM_Touch, pfn_touch and vexd_pfntouch, use register_touch or hook Ham_Touch, depending on your needs.
Try to optimize FM_AddToFullPack callback and to not hook function in lot of plugins.
Try to avoid hooking FM_StartFrame and server_frame.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode