I just want to calculate function running time in OpenERP. For that i am using cProfile library but not able to call my function through cProfile.
My function name --> import_products
Arguments --> self, cr, uid, ids, context
How can i call my function through cProfile?