Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] Any frama-c APIs for the metrics plugin ?


  • Subject: [Frama-c-discuss] Any frama-c APIs for the metrics plugin ?
  • From: richard.bonichon at gmail.com (Richard Bonichon)
  • Date: Thu, 29 Aug 2013 10:21:54 -0300
  • In-reply-to: <CAA1cxuhQsvWMjntprMATt=ixg89c+5_ejrkQcXOhgjZeBGUUKg@mail.gmail.com>
  • References: <CAA1cxuhQsvWMjntprMATt=ixg89c+5_ejrkQcXOhgjZeBGUUKg@mail.gmail.com>

Hello David,

If you only need to obtain the metrics, I think the current interface of
the plugin should do.
However, if -- as I think you do -- you need to do something
programmatically with the data , you have remarked that the computed data
are indeed not available outside of the plug-in (which apparently was not
the best choice :-).

Two choices for you:
1. Use the files from src/metrics and tailor them to your needs.
2. Add a visible API to get the data from src/metrics (and send the patch
to the Frama-C developpers), then code you plug-in using this API.

Choice 2 would be great :-)

-- 
Richard Bonichon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20130829/6f40f06a/attachment.html>