Hi,
I have a simple class defined as follows:
// process_duration:
// =================
//
//!\brief
//! An aggregate holding the amounts of user and system time, and of
//! wall-clock time, measured by process_stopwatch.
// ---------------------------------------------------------------------------
class process_duration
{
public:
using duration_type =
std::chrono::duration< double, std::micro > ;
duration_type user ;
duration_type system ;
duration_type wall ;
//! \return
//! The percentage of `user + system` with respect to
//! `wall`. This is a non-negative number, but can be
//! greater than <tt>100</tt> if the system has multiple
//! CPUs or cores.
// -----------------------------------------------------------------------
double percentage_to_total() const ;
std::string to_string() const ;
} ;
Oddly, the DocsForge documentation for it shows the two member functions, but not duration_type and the three data members. The Doxygen HTML output shows everything, instead.
A similar thing happens for the following struct:
// cpuid_result:
// =============
//
//!\brief
//! The result of the CPUID instruction.
// ---------------------------------------------------------------------------
struct cpuid_result
{
std::uint32_t eax ;
std::uint32_t ebx ;
std::uint32_t ecx ;
std::uint32_t edx ;
} ;
Hi,
I have a simple class defined as follows:
Oddly, the DocsForge documentation for it shows the two member functions, but not
duration_typeand the three data members. The Doxygen HTML output shows everything, instead.A similar thing happens for the following struct: