Any help will be appreciated. Thanks!
--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/lW8PR69kePY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
.AddAttribute ("PDCP Delay",
"PDCP Delay",
UintegerValue (50),
MakeUintegerAccessor (&LtePdcp::pdcp_delay),
MakeUintegerChecker<uint32_t>())
Config::SetDefault ("ns3::LtePdcp::pdcp_delay", UintegerValue(80));
Thanks for answering. When changing the files, I am adding an attribute pdcp_delay to the class, so that I can access it through an attribute. However, I am getting the following error when trying to access the variable through a Config::SetDefault:msg="Could not set default value for ns3::LtePdcp::pdcp_delay", file=../src/core/model/config.cc, line=682I'm trying to access it through:
Config::SetDefault ("ns3::LtePdcp::pdcp_delay", UintegerValue(80));The lte-pdcp.h and lte-pdcp.cc are attached. My changes are between /****/ notes.Thanks,
--
Felipe Fideles
2015-07-02 18:37 GMT-04:00 Tommaso Pecorella <tomm...@gmail.com>:
Patience....From a quick look I'd say that no you'll have to modify the .cc.Have fun,T.
On Tuesday, June 30, 2015 at 2:40:28 AM UTC+2, Felipe Fideles wrote:Hi,I am needing to change and have access to the variables that represent the RLC and PDCP delays. Is there a way to change them without changing the code of the .cc files?They can be found in the file radio-bearer-stats-calculator.cc and in lte-pdcp.cc (lines 207-212):
https://www.nsnam.org/doxygen/radio-bearer-stats-calculator_8cc_source.html
http://www.coe.neu.edu/research/krclab/crens3-doc/lte-pdcp_8cc_source.htmlBest Regards,
--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/lW8PR69kePY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.
--
Felipe Fideles
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/lW8PR69kePY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
Hi Konstantinos,Thank you for answering. I need to be able to change latencies in any of the pieces of the model in the program so that they affect packets' delays and I can measure them as an output. I just need to know what type of input delay I should change.
To measure the packet delay, I can use timestamps, right?
Is it possible also to change them dinamically as the simulations are running? I mean, set a input variable for that.