有没有 C++或 Qt 库可用于衡量应用程序的功能使用情况
我希望能够测量我们的应用程序中正在使用的功能。 例如,某些窗口打开了多少,某些控件被单击了多少。 我可以想象一个工具可以测量这一点并将报告发送到网络服务器,该服务器可以进一步处理它以从中创建有意义的数据
I would like to be able to measure the features in our application that are being used.
For example how much certain windows are opened, certain controls are clicked.
I can imagine a tool that measures this and sends a report to a web server, that can further process it to create meaningful data from it
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
第一个问题:你应该这样做吗?人们不喜欢他们的软件在未经他们同意的情况下打电话回家。但假设他们对此表示同意:
这在技术上是可行的,有两种方法:自动或手动。当然,考虑到你的问题,我假设你正在使用Qt。
自动:
手动:
最终:
First question : should you do it ? People don't like when their software phones home without their consent. But assuming they are ok with it then:
It's technically possible, with two approaches: automatic or manual. Of course, given your question, I assume that you are using Qt.
Automatic:
Manual :
Final :
我想,你的答案是“不”。我不认为有这样的图书馆。
我还认为,这里最好的解决方案是日志记录,这意味着您应该在主程序功能中手动引入一些日志功能并将日志文件发送回。当涉及到日志记录时,您可以考虑使用面向方面的编程(C++ 有这样的工具),它可以简化您的任务...
I guess, your answer is "No". I don't think there are such libraries.
I also think, the best solution here is logging, meaning you should manually introduce some log functions into your main program features and send back the log file. When it comes to logging, you may consider using aspect-oriented programming (and there are such tools for C++), it may simplify your task...