Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProfilerAnno 调用问题 #1

Open
nei10u opened this issue Oct 28, 2016 · 0 comments
Open

ProfilerAnno 调用问题 #1

nei10u opened this issue Oct 28, 2016 · 0 comments

Comments

@nei10u
Copy link

nei10u commented Oct 28, 2016

package org.iamzhongyong.profiler.test.biz;

import org.iamzhongyong.profiler.ProfilerAnno;

@ProfilerAnno
public class ProfilerBizService {

public void A() throws Exception{
    Thread.sleep(200);
    A1();
    System.out.println("iamzhongyong");
}
public void A1() throws Exception{
    Thread.sleep(200);
    A11();
}
public void A11() throws Exception{
    Thread.sleep(200);
}
public void A2() throws Exception{
    Thread.sleep(200);
    A1();
}

}

A() 方法调用 A1() 是this调用吧?annotation对A1()不生效的吧。只能打印最外层的耗时吧?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant