我使用hook(post_controller)来记录查询的执行时间。
它只记录控制器中使用的查询,而不记录模型中使用的查询。
试试用"postrongystem"代替"post_controller"